package com.tiancheng.trade.payment.vo.admin;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * 支付渠道,分页查询
 */
@Getter
@Setter
public class PaymentChannelReqVO {

	/**
	 * 当前页
	 */
	Integer currentPage;

	/**
	 * 页大小
	 */
	Integer pageSize;

	public Integer getCurrentPage() {
		if (null == currentPage || currentPage < 0) {
			currentPage = 1;
		}
		return currentPage;
	}

	public Integer getPageSize() {
		if (null == pageSize || pageSize <= 0) {
			pageSize = 10;
		}
		return pageSize;
	}
}
